package com.dao;

import java.io.Serializable;
import java.util.List;

import com.enetiy.Areaip;
import com.enetiy.Areaitemip;
import com.enetiy.Push;

public interface AreaIpDao {
	//添加area ip地址
	public Serializable insertAreaIp(Areaip areaip) throws Exception;
	//根据公网Ip查询
	public Areaip selectAreaIp(String publicIp) throws Exception;
	//根据areaid
	public Areaip selectAreaip(int areaid) throws Exception;
	//更新areaip表
	public void updateAreaIp(Areaip areaip) throws Exception;
	//查询所有areaip
	public List<Areaip> selectAreaipList() throws Exception;
	
	
	//新增areaitemip
	public Serializable insertAreaitemip(Areaitemip areaitemip) throws Exception;
	//修改areaitemip
	public void updateAreaitemip(Areaitemip areaitemip) throws Exception;
	//根据keyword areid 查询areaitemip
	public Areaitemip selectAreaitemip(String keyword,int areaid ) throws Exception;
	//查询所有areaitemip
	public List<Areaitemip> selectAreaitemipList() throws Exception;
	
	//查询push用户   心跳/短信
	public List<Push> selectPushList(String use,int type) throws Exception;
	
}
